<!DOCTYPE html>

<html>
    <head>
        <title>Page Title</title>
        <meta charset="utf8"/>
        <link href="<?php echo Yii::app()->request->baseUrl . '/css/bootstrap-3.2.0/css/bootstrap.min.css'; ?>" rel="stylesheet" type="text/css"/>
        <script src="<?php echo Yii::app()->request->baseUrl . '/css/bootstrap-3.2.0/js/jquery-1.11.1.min.js'; ?>" type="text/javascript"></script>
        <script src="<?php echo Yii::app()->request->baseUrl . '/css/bootstrap-3.2.0/js/bootstrap.min.js'; ?>" type="text/javascript"></script>
        <style>
            body {background-color:#EBEBEB;}
            li {list-style:none;}

            #header {width: 100%;height: 50px;background-color: #16B5EF;}
            #header a {display: inline-block;margin-top: 8px;}
            #header span {display: inline-block;margin-top: 8px;color: white;font-size: 20px;}

            #content {width:90%;margin:20px auto;background-color:#FFFFFF;border-radius:3px;padding:5px;}
            ul.tital {padding:0px;width:100%;}
            ul.tital li:first-child {text-align:center;color:#FF0000;font-size:18px;line-height:300%;padding-left:10px;font-family:"微软雅黑";font-weight:bold;}
            ul.tital li:last-child {text-align:center;line-height:200%;}
            #text {margin:20px;text-align:left;}
            p {font-family:"微软雅黑";font-size:14px;color:#333333;line-height:180%;}
        </style>
    </head>

    <body>
        <div id="header">
            <?php
            echo $control->getAjaxLink(array(
                'name' => '<img src="' . Yii::app()->request->baseUrl . '/images/BWeEvent/back.png' . '"/>',
                'id' => 'news'), array(
                'viewName' => 'news',
                'htmlOptions' => array(
                    'enctype' => 'multipart/form-data'
            )));
            ?><span>内容详情</span>
        </div>
        <div id="content">
            <ul class="tital">
                <li><?php echo $newsTitle; ?></li>
                <li>
                    <div style="height: 150px;width: 100%;background-image: url(<?php echo Yii::app()->request->baseUrl .'/upload/'. $image; ?>);background-repeat: no-repeat;background-size: 100% 100%;text-align: left;margin-top: 2px;"></div>
                   </li>
            </ul>
            <div id="text">
                <!--<p>2014.10.01</p>-->
                <p><?php echo $author; ?></p>
                <p><?php echo $info; ?></p>
                <br/>
                <br/>
                <br/>
                <br/>
            </div>           
        </div>
    </body>
</html>
